package day9;

import java.awt.image.BufferedImage;

public abstract class BaseClass {
   protected int blood;
   protected int x;
   protected int y;
//    private int x;
//    private int y;
   protected BufferedImage bf;
   protected int width;
   protected int height;
   BaseClass(){

   }
//   public BaseClass(int x,int y){
//       this.x=x;
//       this.y=y;
//   }
    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public BufferedImage getBf() {
        return bf;
    }

    public void setBf(BufferedImage bf) {
        this.bf = bf;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public abstract void move();
}
